import { get } from '@/utils/request'

export default class Search {
  /**
   * 获取搜索的分页结果
   * @param {string} keyword 关键词
   * @param {int} current 当前页码
   * @param {int} limit 每页条数
   * @returns
   */
  static async search(keyword, current, limit) {
    return get('/search', {
      keyword,
      current,
      limit
    })
  }
}
